#pragma once
#include "GlobalDefine.h"
#include <vector>

namespace mray{

struct Ray;
struct Result;
struct Collible;

struct BaseAcc{
	virtual ~BaseAcc(){}

	//must keep in mind that collibles is a tmp
	virtual void Build(const std::vector<Collible*>& collibles) = 0;
	virtual bool Hit(Ray& ray, Result* pResult)const = 0;

};

}